package cn.yunhe.crm.dao;

import cn.yunhe.crm.entity.Cproduct;
import cn.yunhe.crm.entity.CproductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CproductMapper {
    int countByExample(CproductExample example);

    int deleteByExample(CproductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Cproduct record);

    int insertSelective(Cproduct record);

    List<Cproduct> selectByExample(CproductExample example);

    Cproduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Cproduct record, @Param("example") CproductExample example);

    int updateByExample(@Param("record") Cproduct record, @Param("example") CproductExample example);

    int updateByPrimaryKeySelective(Cproduct record);

    int updateByPrimaryKey(Cproduct record);
}